package com.stylefeng.guns.modular.system.model;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author huyalin
 * @since 2018-08-26
 */
public class Channel extends Model<Channel> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;
    /**
     * 渠道名称
     */
    @TableField("channel_name")
    private String channelName;
    /**
     * 备注
     */
    private String info;
    /**
     * 是否可用
     */
    @TableField("is_enabled")
    private Integer isEnabled;
    @TableField("super_channel_id")
    private Long superChannelId;
    /**
     * 下载量
     */
    @TableField("download_count")
    private Integer downloadCount;
    /**
     * 激活量
     */
    @TableField("active_count")
    private Integer activeCount;
    /**
     * 注册量
     */
    @TableField("register_count")
    private Integer registerCount;
    /**
     * 申请量
     */
    @TableField("request_count")
    private Integer requestCount;
    /**
     * 成交量
     */
    @TableField("bargain_count")
    private Integer bargainCount;
    /**
     * 成交额
     */
    @TableField("bargain_amount")
    private BigDecimal bargainAmount;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Integer getIsEnabled() {
        return isEnabled;
    }

    public void setIsEnabled(Integer isEnabled) {
        this.isEnabled = isEnabled;
    }

    public Long getSuperChannelId() {
        return superChannelId;
    }

    public void setSuperChannelId(Long superChannelId) {
        this.superChannelId = superChannelId;
    }

    public Integer getDownloadCount() {
        return downloadCount;
    }

    public void setDownloadCount(Integer downloadCount) {
        this.downloadCount = downloadCount;
    }

    public Integer getActiveCount() {
        return activeCount;
    }

    public void setActiveCount(Integer activeCount) {
        this.activeCount = activeCount;
    }

    public Integer getRegisterCount() {
        return registerCount;
    }

    public void setRegisterCount(Integer registerCount) {
        this.registerCount = registerCount;
    }

    public Integer getRequestCount() {
        return requestCount;
    }

    public void setRequestCount(Integer requestCount) {
        this.requestCount = requestCount;
    }

    public Integer getBargainCount() {
        return bargainCount;
    }

    public void setBargainCount(Integer bargainCount) {
        this.bargainCount = bargainCount;
    }

    public BigDecimal getBargainAmount() {
        return bargainAmount;
    }

    public void setBargainAmount(BigDecimal bargainAmount) {
        this.bargainAmount = bargainAmount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "Channel{" +
        "id=" + id +
        ", channelName=" + channelName +
        ", info=" + info +
        ", isEnabled=" + isEnabled +
        ", superChannelId=" + superChannelId +
        ", downloadCount=" + downloadCount +
        ", activeCount=" + activeCount +
        ", registerCount=" + registerCount +
        ", requestCount=" + requestCount +
        ", bargainCount=" + bargainCount +
        ", bargainAmount=" + bargainAmount +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
